//
//  GuideCollectionViewCell.m
//  JHMall
//
//  Created by 王乐乐 on 16/7/18.
//  Copyright © 2016年 王乐乐. All rights reserved.
//

#import "GuideCollectionViewCell.h"

@interface GuideCollectionViewCell ()

@property (nonatomic,strong) UIImageView * imageView;

@end

@implementation GuideCollectionViewCell

- (UIImageView *)imageView{
    if (_imageView == nil) {
        _imageView = [[UIImageView alloc] init];
        _imageView.contentMode = UIViewContentModeScaleAspectFit;
        _imageView.frame = self.bounds;
            }
    
    return _imageView;
}

- (void)setImage:(UIImage *)image{
    _image = image;
    self.imageView.image = image;
    [self.contentView addSubview:_imageView];

    
}

@end
